cmake_minimum_required(VERSION 3.22)

project(SandBox)

# shader files
set(SHADERS
        hello.vert
        hello.frag
        cube.vert
        cube.frag
        descriptor_set.vert
        descriptor_set.frag
        ecs.vert
        ecs.frag
        unlit_material.vert
        unlit_material.frag
)

spirv_shaders(
        SHADER_HEADERS
        SPIRV_VERSION
        1.0         # Currently targeting Vulkan 1.0
        SOURCES
        ${SHADERS}
)


add_executable(SandBox
        ${SHADER_HEADERS}
        Main.cpp
        PEventTesting.cpp)

target_link_libraries(SandBox PRIVATE piccolo_core)